import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router' // 引入路由器
import pinia from '@/stores'
import 'animate.css' // 引入第三方动画库
import TDesign from 'tdesign-vue-next';
import TDesignChat from '@tdesign-vue-next/chat'; // 引入chat组件
import './authentication.js'
import {loadingDirective} from "@/directive/loading.js";
const app = createApp(App)
app.use(pinia)
app.use(router) // 使用路由器
app.use(TDesign).use(TDesignChat);
app.directive('loading', loadingDirective)
app.mount('#app')
